
import { LoadingController } from 'ionic-angular';
export class AppController {

    loading:any;
    
    constructor(public loadingCtrl: LoadingController) {
        this.presentLoading();
    }

    presentLoading() {
    this.loading = this.loadingCtrl.create({
      content: "Please wait..."
    }); 
    this.loading.present();
  }
}